package com.guonl.dao;

import com.guonl.model.Country;
import com.guonl.model.CountryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CountryMapper {
    long countByExample(CountryExample example);

    int deleteByExample(CountryExample example);

    int deleteByPrimaryKey(Integer serialNo);

    int insert(Country record);

    int insertSelective(@Param("record") Country record, @Param("selective") Country.Column ... selective);

    Country selectOneByExample(CountryExample example);

    List<Country> selectByExample(CountryExample example);

    Country selectByPrimaryKey(Integer serialNo);

    int updateByExampleSelective(@Param("record") Country record, @Param("example") CountryExample example, @Param("selective") Country.Column ... selective);

    int updateByExample(@Param("record") Country record, @Param("example") CountryExample example);

    int updateByPrimaryKeySelective(@Param("record") Country record, @Param("selective") Country.Column ... selective);

    int updateByPrimaryKey(Country record);

    int batchInsert(@Param("list") List<Country> list);

    int batchInsertSelective(@Param("list") List<Country> list, @Param("selective") Country.Column ... selective);
}